package com.guldan.core.exception;

/**
 * Created by Silas.
 * Date: 2016/10/1
 * Time: 22:18
 */
public class UnexpectedException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String step;
    private String paramsInfo;

    public UnexpectedException(String paramsInfo) {
        this.paramsInfo = paramsInfo;
    }

    public UnexpectedException(String paramsInfo, String step) {
        this.paramsInfo = paramsInfo;
        this.step = step;
    }

    public UnexpectedException(String paramsInfo, String step, String message) {
        super(message);
        this.paramsInfo = paramsInfo;
        this.step = step;
    }

    public String getParamsInfo() {
        return this.paramsInfo;
    }

    public void setParamsInfo(String paramsInfo) {
        this.paramsInfo = paramsInfo;
    }

    public String getStep() {
        return this.step;
    }

    public void setStep(String step) {
        this.step = step;
    }
}
